package com.tiancheng.trade.payment.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 优惠券清分——支付
 *
 * @author likailun
 * @date 2021-12-15 20:45
 */
@TableName(value = "coupon_settle_pay")
@Data
public class CouponSettlePay implements Serializable {
    // 主键
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 清分id
     */
    private String settleId;

    /**
     * 子订单号
     */
    private String subOrderId;

    /**
     * 支付子流水号
     */
    private String subOrderFlowId;

    public CouponSettlePay() {
    }

    public CouponSettlePay(String settleId, String subOrderId, String subOrderFlowId) {
        this.settleId = settleId;
        this.subOrderId = subOrderId;
        this.subOrderFlowId = subOrderFlowId;
    }
}